package com.mrjy.queries.dao;

import com.mrjy.common.entity.CustomModule;
import com.mrjy.common.entity.QuestionTypeRel;
import com.mrjy.common.entity.VideoType;

import java.util.List;

public interface IQuestionTypeRelDao {

	int insert(QuestionTypeRel rel);

	void deleteByQuestionId(QuestionTypeRel rel);

	List<VideoType> queryByQuestionId(Integer id);
	
	String queryTypesByQuestionId(Integer id);

    int countByCustomId(CustomModule id);

    int sumCommonNumByCustomId(CustomModule customModule);
}
